// 库存管理接口
import request from "@/common/request.js";
const api = {
  client_classify: "/client_classify/",
};

const clClassifyApi = {
  get_client_classify(params) {
    return request({
      url: api.client_classify,
      method: "get",
      params,
    });
  },

  client_classify_detail(id) {
    return request({
      url: api.client_classify + id,
      method: "get",
    });
  },

  post_client_classify(data) {
    return request({
      url: api.client_classify,
      method: "post",
      data,
    });
  },

  patch_client_classify(data, id) {
    return request({
      url: api.client_classify + id + "/",
      method: "patch",
      data,
    });
  },

  delete_client_classify(id) {
    return request({
      url: api.client_classify + id + "/",
      method: "delete",
    });
  },
};
export default clClassifyApi;
